<?php
require('functions/dbConn.php');
require('functions/pageSelector.php');
require('functions/buildLinks.php');

// load in settings

$settingsQuery = "SELECT * FROM settings";
$settingsResult=mysql_query( $settingsQuery ) or die ("Error in query: $settingsQuery. " . mysql_error());
while($settingsArr=mysql_fetch_assoc($settingsResult)){
$settings[$settingsArr['setting_name']] = $settingsArr['setting_value'];
}

?>